home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / blat11.zip / GENSOCK / GENSCK32.MAK < prev    next >
Makefile  |  1994-10-27  |  1KB  |  40 lines

  1. !include <ntwin32.MAK>
  2.  
  3. wslib = wsock32.lib
  4.  
  5. TARGET = gensock
  6.  
  7. OBJS = gensock.obj
  8.  
  9. .SUFFIXES:    .cpp
  10.  
  11. .cpp.obj:
  12.     $(cc) $(DEFS) $(cflags) $(cvarsdll) $(cdebug) $<
  13.  
  14. all:    gensock.dll
  15.  
  16. $(TARGET).lib $(TARGET).exp : gensck32.def
  17.     $(implib) -out:$(TARGET).lib $(OBJS) -machine:$(CPU) -def:gensck32.def
  18.  
  19. #$(TARGET).dll : $(OBJS) $(TARGET).exp $(TARGET).res
  20. #    $(link) -out:$(TARGET).dll -dll -entry:dll_entry_point$(DLLENTRY) \
  21. #        -debug:full -debugtype:cv -subsystem:windows \
  22. #        $(LINK_FLAGS) $(TARGET).rbj $(OBJS) $(TARGET).exp\
  23. #        $(guilibsdll) wsock32.lib
  24.  
  25. $(TARGET).dll : $(OBJS) $(TARGET).exp $(TARGET).res
  26.     $(link) -out:$(TARGET).dll -dll -entry:dll_entry_point$(DLLENTRY) \
  27.         -debug:full -debugtype:cv -subsystem:windows \
  28.         $(LINK_FLAGS) $(OBJS) $(TARGET).exp\
  29.         $(guilibsdll) wsock32.lib
  30.  
  31. # Update the resource if necessary
  32. $(TARGET).res: $(TARGET).rc
  33.     rc -r -fo $(TARGET).res $(cvars) $(TARGET).rc
  34. !IFDEF CPUTYPE
  35.     cvtres -$(CPU) $(TARGET).res -o $(TARGET).rbj
  36. !ENDIF
  37.  
  38. clean:
  39.     del *.obj *.lib *.exp *.dll *~
  40.